//评论约束、
export interface IRat {
    avatar: string
    rateTime: number
    rateType: number
    text: string
    username: string
}

//食品约束
export interface Ifoods {
    category: string
    ctime: string
    goodsDesc: string
    id: number
    imgUrl: string
    name: string
    price: number
    rating: number
    ratings: Array<IRat>
    sellCount: number
    count?: number
}

//商品列表
export interface IGoods {
    foods: Array<Ifoods>
    name: string
}